﻿<!DOCTYPE html>
<html>
<head>
<title>Admin Console</title>
<%@page import="java.util.*" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
    Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<link href="/css/Adminconsole/Main.css" rel="stylesheet" />
<link href="/css/nightaudit/nightaudit.css" rel="stylesheet" />
<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery-ui-1.9.1.custom.min.js"></script>
<script src="/js/sharedData.js"></script>
<script src="/js/simpleservice.js"></script>
<script src="/js/nightaudit/nightaudit.js"></script>
<jsp:include page="/language.jsp" flush="true" />

</head>

<body>
	<header>
		<div class="brand">
			<div name="hotelName"><h2>iHotel</h2></div>
			<div name="pageName">Admin Console</div>      
		</div>
	</header>
	<div class="main">
		<div class="breadcrumb">
			iHotel
		</div>
		<div class="content">
        	<div style="text-align:center">
	        	<span><% out.print(resource.getString("NightAudit.perform"));%>&nbsp;</span><span id="nightauditdate">-</span>
    	        </br>
				</br>
            	<span><% out.print(resource.getString("NightAudit.countdown1"));%></span>
			</div>
                </br>
                <div style="text-align:center;border:thin">
                <table  style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table1">
  					<tr style="background-color:#0033CC;color:#FFF;">
				    	<td class="textleft boldtext"><% out.print(resource.getString("NightAudit.roomdetails"));%></td>
					    <td class="boldtext"><% out.print(resource.getString("NightAudit.noofroom"));%></td>
					    <td class="boldtext"><% out.print(resource.getString("NightAudit.noofguest"));%></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2dayOccupied"));%></td>
					    <td><span id="room_occ"></span></td>
					    <td><span id="guest_occ"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2dayavailable"));%></td>
					    <td><span id="room_available"></span></td>
					    <td>-</td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2daycheckin"));%></td>
					    <td><span id="room_checiin"></span></td>
					    <td><span id="guest_checkin"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2daycheckout"));%></td>
					    <td><span id="room_checkout"></span></td>
					    <td>-</td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2daynoshow"));%></td>
					    <td><span id="room_noshow"></span></td>
					    <td>-</td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.2daycancel"));%></td>
					    <td><span id="room_cancel"></span></td>
					    <td>-</td>
					</tr>
				</table>
                </div>
                </br>
                <div style="text-align:center;border:thin">
                <table  style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table2">
  					<tr style="background-color:#0033CC;color:#FFF;">
				    	<td class="boldtext textleft"><% out.print(resource.getString("NightAudit.housekeeping"));%></td>
					    <td>&nbsp;</td>
					</tr>
                    <tr>
				    	<td class="textleft textleft"><% out.print(resource.getString("NightAudit.checkoutmarkdirty"));%></td>
					    <td style="padding-right:50px"><span id="house1"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft textleft"><% out.print(resource.getString("NightAudit.vacantmarknochange"));%></td>
					    <td style="padding-right:50px"><span id="house2"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft textleft"><% out.print(resource.getString("NightAudit.occupiedamrkdirty"));%></td>
					    <td style="padding-right:50px"><span id="house3"></span></td>
					</tr>
				</table>
                </div>
                </br>
                <div class="boldtext">
                <% out.print(resource.getString("NightAudit.accountdetails"));%>
                </div>
                <div style="text-align:center;border:thin">
                <table style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table3">
  					<tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td rowspan="2" class="textleft"><% out.print(resource.getString("NightAudit.counter"));%></td>
					    <td colspan="2"><% out.print(resource.getString("NightAudit.revenuerecolved"));%></td>
					    <td colspan="2"><% out.print(resource.getString("NightAudit.withdrawals"));%></td>
					    <td rowspan="2"><% out.print(resource.getString("NightAudit.balance"));%></td>
					    <td rowspan="2"><% out.print(resource.getString("NightAudit.status"));%></td>
					</tr>
                    <tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td><% out.print(resource.getString("NightAudit.cash"));%></td>
					    <td><% out.print(resource.getString("NightAudit.cheque"));%></td>
					    <td><% out.print(resource.getString("NightAudit.cash"));%></td>
                        <td><% out.print(resource.getString("NightAudit.cheque"));%></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.perform"));%></td>
					    <td>&nbsp;</td>
					    <td>&nbsp;</td>
                        <td>&nbsp;</td>
					    <td>&nbsp;</td>
                        <td>&nbsp;</td>
					    <td>&nbsp;</td>
					</tr>
                    <tr class="boldtext">
				    	<td style="text-align:center"><% out.print(resource.getString("NightAudit.total"));%></td>
                        <td>&nbsp;</td>
					    <td>&nbsp;</td>
                        <td>&nbsp;</td>
					    <td>&nbsp;</td>
                        <td>&nbsp;</td>
					    <td>&nbsp;</td>
					</tr>
				</table>
                </div>
                </br>
                 <div style="text-align:center;border:thin">
                <table style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table4">
  					<tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.revenuelist"));%></td>
					    <td><% out.print(resource.getString("NightAudit.amount"));%></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.roomrevenue"));%></td>
					    <td><span id="revenue_room"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.cancellationrevenue"));%></td>
					    <td><span id="revenue_cancel"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.noshowrevenue"));%></td>
					    <td><span id="revenue_noshow"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.roomcharge"));%></td>
					    <td><span id="revenue_roomcharge"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.total"));%></td>
					    <td><span id="revenue_total"></span></td>
					</tr>
				</table>
                </div>
                </br>
                <div class="boldtext">
                <% out.print(resource.getString("NightAudit.roomtax"));%>
                </div>
                <div style="text-align:center;border:thin">
                <table  style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table5">
  					<tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.revenuelist"));%></td>
					    <td><% out.print(resource.getString("NightAudit.amount"));%></td>
					</tr>
				</table>
                </div>
                </br>
                <div class="boldtext">
                <% out.print(resource.getString("NightAudit.postax"));%>
                </div>
                <div style="text-align:center;border:thin">
                <table  style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table6">
  					<tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.revenuelist"));%></td>
					    <td><% out.print(resource.getString("NightAudit.amount"));%></td>
					</tr>
				</table>
                </div>
                </br>
                <div style="text-align:center;border:thin">
                <table  style="border:solid 1px #CCCCCC" cellpadding="5" cellspacing="0" id="table7">
  					<tr class="boldtext" style="background-color:#0033CC;color:#FFF;">
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.bookingrevenue"));%></td>
					    <td><% out.print(resource.getString("NightAudit.amount"));%></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.walkin"));%></td>
					    <td><span id="booking_walkin"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.corporate"));%></td>
					    <td><span id="booking_coperate"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.agent"));%></td>
					    <td><span id="booking_agent"></span></td>
					</tr>
                    <tr>
				    	<td class="textleft"><% out.print(resource.getString("NightAudit.web"));%></td>
					    <td><span id="booking_web"></span></td>
					</tr>
				</table>
                </div>
                </br>
                <div style="text-align:center">
                	<input id="next" type="button" value="<% out.print(resource.getString("NightAudit.abandon"));%>">
                    <input id="next" type="button" value="<% out.print(resource.getString("NightAudit.continue"));%>">
                </div>
                </div>
	</div>
    <script>loadSummary()</script>
</body>

</html>